@include('admin.layout.bone_header')




<div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list" style="padding: 20px 30px 0 0;">





    <div class="layui-form-item">
        <label class="layui-form-label">充值地址1</label>
        <div class="layui-input-inline">
            <input type="text"  name="recharge_url1" value="{{$info[0]['key_text']}}"  placeholder="充值地址1" autocomplete="off" class="layui-input" >
        </div>


        <label class="layui-form-label">充值地址2</label>
        <div class="layui-input-inline">
            <input type="text"  name="recharge_url2" value="{{$info[1]['key_text']}}"  placeholder="充值地址2" autocomplete="off" class="layui-input" >
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">密码</label>
        <div class="layui-input-block">
            <input type="text"  name="password" value=""  placeholder="重置后台密码(为空不修改)" autocomplete="off" class="layui-input" >
        </div>
    </div>





    {{--    配置返现队列相关--}}


    <div class="layui-form-item ">
        <input type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submit" id="submit" value="保存">
    </div>

</div>




<script src="/static/admin_templete/ueditor/ueditor.config.js"></script>
<script src="/static/admin_templete/ueditor/ueditor.all.min.js"></script>


<script>

</script>

<script>



    layui.use(['laydate','form'], function() {
        let form = layui.form;


        form.on('submit(submit)', function(data){
            HttpUtils.post('{{route('admin.settings.settings')}}',data.field,function (res){
                if (res.code !== 200){

                    Utils.errorToast(res.msg);
                    return;
                }
                Utils.successToast(res.msg);
            })
        });
    });
</script>
@include('admin.layout.bone_footer')
